package com.xxgc.eow.mapper;

import com.xxgc.eow.entity.Skill;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 技能表 Mapper 接口
 * </p>
 *
 * @author Mr.Abel
 * @since 2023-05-23
 */
@Mapper
public interface SkillMapper extends BaseMapper<Skill> {
    int deleteByPrimaryKey(Skill skill);

    int insert(Skill row);

    Skill selectByPrimaryKey(Integer skillId);

    List<Skill> selectBYKeyWord(String keyWord);

    int updateByPrimaryKey(Skill row);

    List<Integer> selectAllIdByName(@Param("skillNames") List<String> skillNames);
}
